MailPoet\Automation\Integrations\MailPoet\Actions\SendEmailAction B

Total Complexity 79
Dependencies 34
Dependents 5
Total lines 541
Lines of code 366
Logical lines of code 204
Comment lines 35
Methods 22
Properties 11

Methods 22

Method Rating Maintainability Complexity Lines of code
run()
A
46 8 39
getSubscriber()
A
49 8 32
getNewsletterMeta()
S
50 6 29
saveEmailSettings()
S
50 6 28
storeNewsletterOption()
S
51 6 28
checkSendingStatus()
S
54 6 19
getArgsSchema()
S
52 5 22
isTransactional()
S
57 5 18
onDuplicate()
S
50 4 30
handleEmailSent()
S
55 4 20
getEmailForStep()
S
58 4 15
validate()
S
56 3 18
rerunLater()
S
61 3 11
scheduleEmail()
S
66 2 8
isOptInRequired()
S
72 2 5
__construct()
S
60 1 13
getKey()
S
81 1 3
getName()
S
79 1 3
getSubjectKeys()
S
76 1 5
getRunLogData()
S
76 1 4
automationHasWooCommerceTrigger()
S
68 1 8
automationHasAbandonedCartTrigger()
S
68 1 8